package com.lh.pattern.singleton;

/**
 ************************************************
 ** Module : 单例模式 (饱汉模式)
 ** Date: 2013-3-13  Time: 下午04:04:36 
 ** Author lh 
 ************************************************ 
 */
public class FullSingleton {
	private static final  FullSingleton singleton = new FullSingleton();

	/**
	 * 构造方法私有化 防止其它地方new一个对象
	 */
	private FullSingleton() {
	}

	public static FullSingleton getInstance() {
		return singleton;
	}
}
